﻿@model IEnumerable<LOMBARDISPICK.Model.TeamSeason_1985_2011>

@{
	ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
	@Html.ActionLink("Create New", "Create")
</p>
<table class="applySortFilterDataTable">
	<thead>
		<tr>
			<th></th>
			<th>
				@Html.LabelFor(model => model.SingleOrDefault().Season)
			</th>
		</tr>
	</thead>
	<tbody>
@foreach (var item in Model) {
		<tr>
			<td>
				@Html.ActionLink("Edit", "Edit", new { id=item.TeamSeasonID }) |
				@Html.ActionLink("Details", "Details", new { id = item.TeamSeasonID }) |
				@Html.ActionLink("Delete", "Delete", new { id = item.TeamSeasonID })
			</td>
			<td>
				@item.Season
			</td>
		</tr>
}
	</tbody>

</table>